import java.util.Scanner;

/**
 * @author caesar
 * @date 2025/6/30
 * @apiNote
 */
/*
5个一行输出1-100之间的偶数
*/
public class homework1_1 {
    public static void main(String[] args) {
        for(int i = 1; i <= 100; i++){
            if(i % 2 == 0) {
                System.out.print(i+" ");
                if (i % 5 == 0) {
                    System.out.println();
                }
            }
        }
    }

}